import React, { Component } from 'react';
import { Result } from 'antd-mobile'
import '../styles/Result.scss'
class Result1 extends Component {
    toindex(){
       this.props.history.push('/index/home')
    }
    render() {
        return (
            <div className='result'>
                <div className="top">
                    <Result
                        status='success'
                        title='已支付'
                        description='商家将在24小时内发货,请耐心等待'
                    />
                </div>
                <div className="back">
                    <button onClick={()=>{this.toindex()}}>返回首页</button>
                </div>
            </div>
        );
    }
}

export default Result1;